﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using BlazorAppAuth.Models;

namespace BlazorAppAuth.Data
{
    public class BlazorAppAuthContext : DbContext
    {
        public BlazorAppAuthContext (DbContextOptions<BlazorAppAuthContext> options)
            : base(options)
        {
        }

        public DbSet<BlazorAppAuth.Models.UserAccount> UserAccount { get; set; } = default!;

        public DbSet<BlazorAppAuth.Models.Order> Order { get; set; } = default!;
    }
}
